const Activity = require('../app/controllers/activity');
var express = require('express');
var router = express.Router();


router.post('/upload',Activity.Upload)//发布活动
router.get('/getact',Activity.Getact)//获取活动
router.get('/getactdetail',Activity.Getactdetail)//获取活动详情
router.post('/uploadpic',Activity.Uploadpic)//活动图片
router.post('/signup',Activity.Signup)//活动报名
router.get('/getmyacts',Activity.Getmyacts)//获取我的活动
router.get('/deleteact',Activity.Deleteact)//删除活动
router.post('/search',Activity.Search)//搜索活动
//router.get('/getsignedacts',Activity.Getsignedacts)//获取我报名的活动
router.post('/pass',Activity.Pass)//报名通过
router.post('/refuse',Activity.Refuse)//报名不通过
router.get('/getsignedacts',Activity.Getsignedacts)//获取我报名的活动
router.post('/signin',Activity.signin)//签到
router.post('/signout',Activity.signout)//签退
router.get('/getsignedactsstatus',Activity.Getsignedactsstatus)//获取我报名的活动状态
module.exports = router;
